package com.longqin.wechat.util;

public enum ResponseEnum {

	ERROR(0),
	SUCCESS(1),
	REPEAT(2),   //重复
	BADPARAM(3), //参数错误
	UNAUTH(401), //没有权限
	TOKENEXPIRED(402), //token过期
	NOTLOGON(403), //未登录
	NOTFOUND(404), //未定义
	HYSTRIX(406); //熔断器返回
	
	private int code;
	
	private ResponseEnum(int code){
		this.code = code;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
}
